import { createRouter, createWebHistory } from 'vue-router'
import { ElMessage } from 'element-plus'

const router = createRouter({
  history: createWebHistory(),
  routes: [
    {
      path: '/',
      name: 'Home',
      component: () => import('../views/Home.vue')
    },
    {
      path: '/booking-system',
      name: 'BookingSystem',
      component: () => import('../views/BookingSystem.vue')
    },
    {
      path: '/device-test',
      name: 'DeviceTest',
      component: () => import('../components/DeviceTest.vue')
    },
  ]
})

//导出路由
export default router 